package com.lijiayue.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lijiayue.model.domain.User;
import com.lijiayue.util.Result;

import java.util.Map;

public interface UserService extends IService<User> {

    /**
     * 用户注册*/
    void userRegister(User user) throws InterruptedException;

    /**
     * 用户登录*/
    Result<Map<String, Object>> userLogin(User user);

}
